package com.demo.resourcecode.c4;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

//将组件注册到spring容器
public class MyNamespaceHandle extends NamespaceHandlerSupport {

	@Override
	public void init() {
		registerBeanDefinitionParser("user", new UserBeanDefinitionParser());
	}

}
